import Vue from "vue";
import App from "./App.vue";
import VueWechatTitle from "vue-wechat-title";
import store from "./store";

import {
  Dialog,
  Row,
  Col,
  Cell,
  CellGroup,
  Radio,
  RadioGroup,
  Field,
  Cascader,
  Popup,
  Toast,
  Button,
  Calendar,
  Empty,
  Loading,
  Form,
  Area,
  Uploader,
  Notify,
  DatetimePicker,
  Popover,
  Icon,
  ImagePreview
} from "vant";

import router from "./router";

Vue.config.productionTip = false;

Vue.use(ImagePreview);
Vue.use(Icon);
Vue.use(Popover);
Vue.use(DatetimePicker);
Vue.use(Notify);
Vue.use(Area);
Vue.use(Uploader);
Vue.use(Cell);
Vue.use(CellGroup);
Vue.use(Radio);
Vue.use(RadioGroup);
Vue.use(Field);
Vue.use(Cascader);
Vue.use(Popup);
Vue.use(Toast);
Vue.use(Button);
Vue.use(Calendar);
Vue.use(Empty);
Vue.use(Loading);
Vue.use(Form);
Vue.use(Dialog);
Vue.use(Row);
Vue.use(Col);
Vue.use(VueWechatTitle);
new Vue({
  store,
  router,
  render: h => h(App)
}).$mount("#app");
